import Value from "./Value";
import buffer from '@ohos.buffer';

type StructureField = {
  type: NumberConstructor | typeof buffer.Buffer | StringConstructor;
  enum?: any;
  signedness?: "Signed" | "Unsigned";
  encoding?: "hex";
  countFieldName?: string;
  count?: number;
  sizeFieldName?: string;
  size?: number;
  defaultValue?: Value;
};
export default StructureField;